package com.crest.wm;

/**
 * Created with IntelliJ IDEA.
 * User: prabu
 * Date: 22/4/13
 * Time: 11:22 PM
 * To change this template use File | Settings | File Templates.
 */
public class WatermarkProcess implements Runnable {

    public Document getDocument() {
        return document;
    }

    public void setDocument(Document document) {
        this.document = document;
    }

    private Document document;


    @Override
    public void run() {


        try {
            //System.out.println(" It is watermarking");
            Thread.sleep(15000);
        } catch (InterruptedException e) {
            e.printStackTrace();  //To change body of catch statement use File | Settings | File Templates.
        }

        document.setWatermark();


    }
}
